package datastructures;

import interfaces.IClosedList;

import java.util.ArrayList;


public class ClosedList implements IClosedList {
	ArrayList<MyNode> closedList = new ArrayList<MyNode>();

	@Override
	public void add(MyNode node) {
		this.closedList.add(node);
		
	}

	@Override
	public boolean contains(MyNode node) {
		return this.closedList.contains(node);

	}
	

	
	
}
